package com.atguigu.order.feign;

import com.atguigu.spzx.model.pojo.order.OrderInfo;
import com.atguigu.spzx.model.vo.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-order")
public interface OrderFeignClient {
    @GetMapping("/api/order/orderInfo/auth/findOrderInfoByOrderNo/{orderNo}")
    public Result<OrderInfo> findByOrderNo(@PathVariable("orderNo")String orderNo);
}
